﻿using Infrastructure.AggregateBase;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace Domain.Model
{
    /// <summary>
    /// 管理员表
    /// </summary>
    [Table("Kfqa")]
    public class KFQAAggregate : AggregateRoot<KFQAAggregate, int>
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public override int ID { get; set; }

        [StringLength(255)]
        public string Question { get; set; }
        [StringLength(255)]
        public string Answer { get; set; }
        public int Sort { get; set; }
    }
}
